# ==========================================
# 2024 EExuke. All Rights Reserved.
# ==========================================

KERN_DIR = /usr/aarch64-linux-gnu/src/linux-headers-4.9.253-tegra-linux_x86_64/kernel-4.9
CROSSCOMPILE = aarch64-linux-gnu-
ARCH = arm64

obj-m := hellomodule.o

all:
	make -C $(KERN_DIR) M=`pwd` modules
	rm -rf ./.*.cmd ./*.o ./*.mod.c ./*.mod.o ./*.symvers ./*.order ./.tmp_versions

clean:
	make -C $(KERN_DIR) M=`pwd` modules clean
